package com.imau.bean;

import io.mybatis.provider.Entity;
import lombok.AllArgsConstructor;
import lombok.Data;

@Entity.Table("t_role_permission")
@Data
@AllArgsConstructor
public class RolePermission {

    @Entity.Column(id = true , updatable = false)
    private String roleId;

    private String permissionId;

    public RolePermission(){

    }

    public RolePermission(String roleId){

        this.roleId = roleId;

    }
}
